package jsyf.oa.facade.wreport;

import com.alibaba.dubbo.rpc.protocol.rest.support.ContentType;
import com.alibaba.fastjson.JSONObject;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import java.util.List;

/**
 * Created by WHH-PC on 2018/1/15.
 */
@Path("/wReportUnfinishService")
@Consumes({MediaType.APPLICATION_JSON, MediaType.TEXT_XML})
@Produces({ContentType.APPLICATION_JSON_UTF_8, ContentType.TEXT_XML_UTF_8})
public interface WReportUnfinishFacade {
    @Path("/save")
    String save(String  jsonData);

    @Path("/getWReportUnfinishCount")
    List<JSONObject> getWReportUnfinishCount();

    @Path("/getWReportUnfinishMainList")
    JSONObject getWReportUnfinishMainList(JSONObject obj);

    @Path("/getWReportUnfinishListByMainId")
    List<JSONObject> getWReportUnfinishListByMainId(JSONObject obj);

    @Path("/getWReportUnfinishViewListByPage")
    List<JSONObject> getWReportUnfinishViewListByPage(JSONObject obj);

    @Path("overWReportUnfinishMain")
    String  overWReportUnfinishMain(String jsonData);

    @Path("/getWReportUnfinishReply")
    List<JSONObject> getWReportUnfinishReply(String trackId);

    @Path("/saveUnfinish")
    String saveUnfinishMain(String jsonData);

    @Path("/addTrack")
    String addTrack(JSONObject jsonData);

    @Path("/addReply")
    String addReply(JSONObject jsonData);

    @Path("/closeMatter")
    String closeMatter(JSONObject jsonData);

    @Path("getUnfinishPersonList")
    List<JSONObject> getUnfinishPersonList();
}

